﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp3
{
    class Teacher : Person
    {

        private string title;
        private int wageno;


        public string Title { get; set; }
        public int Wageno { get; set; }

        public Teacher(int Id, string name, char sex, int cardid, int tel, string title, int wageno) : base(Id, name, sex, cardid, tel)
        {
            this.title = "高级教师";
            this.wageno = 1542254;
        }

        public void introduction()
        {
            Console.WriteLine("我的职称是" + this.title);
            Console.WriteLine("我的工资号是" + this.wageno);
        }
    }
}
